@import "./mixin";
@import "./variables";
// 浮动
body {
  margin: 0;
}
.fr {
  float: right;
}

.fl {
  float: left;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.m-0 {
  margin: 0;
}

// margin-top
.mt-0 {
  margin-top: 0px !important;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

// margin-right
.mr-5 {
  margin-right: 5px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-20 {
  margin-right: 20px;
}

.mr-30 {
  margin-right: 30px;
}

// margin-bottom
.mb-5 {
  margin-bottom: 5px;
}
.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

// margin-left
.ml-5 {
  margin-left: 5px;
}

.ml-10 {
  margin-left: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.ml-30 {
  margin-left: 30px;
}

.ml-75 {
  margin-left: 75px;
}

.ml-100 {
  margin-left: 100px;
}

.m-all-10 {
  margin: 10px;
}

// padding-left
.pl-10 {
  padding-left: 10px;
}

.pl-20 {
  padding-left: 20px;
}

.pl-30 {
  padding-left: 30px;
}

.pl-40 {
  padding-left: 40px;
}

// padding-top
.pt-10 {
  padding-top: 10px;
}

// padding-bottom
.pb-10 {
  padding-bottom: 10px;
}

.p-all-10 {
  padding: 10px;
}

.all-width {
  width: 100% !important;
}

.half-width {
  width: 50%;
}

.one-third-width {
  width: calc(100% / 3);
}

.two-third-width {
  width: calc(100% - 100% / 3);
}

.one-fourth-width {
  width: 25%;
}

.three-fourth-width {
  width: 75%;
}

.height {
  height: 100%;
}

// 字号
.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-15 {
  font-size: 15px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-26 {
  font-size: 26px;
}

.fs-28 {
  font-size: 28px;
}

.fs-30 {
  font-size: 30px;
}

.fs-40 {
  font-size: 40px;
}

// 圆角
.border-radius-10 {
  border-radius: 10px;
}

// 字粗
.fw-blod {
  font-weight: bold;
}

.dashed-line {
  border-bottom: 1px dashed #e7eaec;
  margin: 15px 0;
}

.vertical-top {
  vertical-align: top;
}
.vertical-mid {
  vertical-align: middle;
}

// display
.inline-block {
  display: inline-block;
}
.block {
  display: block;
}

/* flex */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.item-between {
  display: flex;
  justify-content: space-between;
}

.item-around {
  display: flex;
  justify-content: space-around;
}

.item-between-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-around-center {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.item-col-center {
  /* 使用flex, 使其子元素垂直居中 */
  display: flex;
  align-items: center;
}

.item-center {
  /* 使用flex, 使其子元素垂直水平居中 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-row-center {
  /* 使用flex, 使其子元素水平居中 */
  display: flex;
  justify-content: center;
}

.flex-basis-420 {
  width: 420px;
}

.w-450 {
  width: 450px;
}

.column-item-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.column-item-row-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.column-item-between-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.column-item-around-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.pointer {
  cursor: pointer !important;
}

.second-level-title {
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 28px;
  letter-spacing: 0px;
  color: #ffffff;
  text-align: left;
}

// text
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

.backgroundChunk {
  background-color: rgba(0, 161, 255, 0.2);
  border: 1px solid #00a1ff;
  text-align: center;
}

*::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 2px;
}

*::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #0096d8aa;
}

*::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #535353;
}

.label-color {
  color: $label-color;
}

.gray-color {
  color: #c1d2d9;
}

.value-color {
  color: #fff;
}

.yellow-color {
  color: $yellow !important;
}

.black-color {
  color: #000;
}

.dark-blue-color {
  color: $dark-blue;
}

.pure-blue-color {
  color: $pure-blue;
}

.time-card-value-color {
  color: $time-card-value-color;
}

.line-height-26 {
  line-height: 26px;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.line-height-26::-webkit-scrollbar {
  display: none;
}

.line-height-30 {
  line-height: 30px;
}

.line-height-40 {
  line-height: 40px;
}

.label-hover {
  &:hover {
    background-color: rgba(0, 124, 196, 0.5) !important;
  }
}

.label-hover-scale {
  &:hover {
    transform: scale(1.02);
  }
}

// 视频铺满容器
.object-fit-fill {
  object-fit: fill;
}

.icon-pie-box {
  position: relative;
  .logo-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

section.left-main-container {
  width: 930px;
  height: 960px;
  clear: both;
}

section.right-main-container {
  width: 930px;
  height: 100%;
  float: right;
  margin-right: 30px;
}

.font-overflow {
  @include font-overflow();
}

.gird-center {
  display: grid;
  place-content: center;
}
* {
  box-sizing: border-box;
}
